package cn.ilikes.apps.collect.tests;

import cn.ilikes.apps.collect.pojos.IlikesUsers;

import cn.ilikes.apps.collect.services.IlikesCollectsServiceException;
import cn.ilikes.apps.collect.services.IlikesUserService;
import cn.ilikes.apps.collect.services.LikesUserServiceException;
import cn.ilikes.apps.collect.tests.BaseTest;

import java.util.concurrent.atomic.AtomicInteger;

public class TestLikesUserService extends BaseTest {

	public void testThread() throws Exception {
//		String regUser="pzzy200451"+System.currentTimeMillis();+
		String regUser="电视应用平台部门13625521808950.8128224196802996";
		IlikesUserService iikesUserService = getService(IlikesUserService.SPRING_DEFULT_NAME);
		IlikesUsers likesUsers = new IlikesUsers();
		likesUsers.setRegName(regUser);
		likesUsers.setRegPasswd("电视应用平台部门" + System.currentTimeMillis());

//		iikesUserService.regUser(likesUsers);
////		
//		Thread.sleep(10000);
//		
		IlikesUsers  ikesUsers = iikesUserService.findIlikesUsersByRegUser(regUser);
		System.out.println("===============  "+ikesUsers);

	}

}
